﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TfL
{
    //[Serializable]
    public class StationStatus
    {
        public StationStatus()
        {
            Station = new Station();
            Status  = new Status();
            StatusDetails = string.Empty;
            ID = string.Empty;
        }
        [XmlElement]
        public Station Station { get; set; }
        [XmlElement]
        public Status Status { get; set; }
        [XmlAttribute]
        public string StatusDetails { get;  set; }
        [XmlAttribute]
        public string ID { get; set; }

        public override string ToString()
        {
            return string.Format("{0}:{1}:{2}",Station,Status,StatusDetails);
        }
    }
}
